package com.dachuang.canjiren.service;

import com.dachuang.canjiren.entity.Policy;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dachuang.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-27
 */
public interface PolicyService {
    /**
     * 时政新闻创建
     * @param theme
     * @param content
     * @return
     */
    R insertPolicy(String theme, String content);

    /**
     * 时政新闻查询
     * @param id
     * @return
     */
    R selectPolicy(Integer id);
}
